package com.ITArmy.util;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *修改日期：2017-04-05
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {
	
//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "2016092900624083";
	
	// 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCNrWVggRajxp1udwyJkTPNGaMMoLSWQt4/MpQeCt4CQUlDEaSWuLw3TCYzc9le3By2ai1cZRD9JMAn5qXSIpGZbbhGNfD3P51EoP1eMuoTiOhjQwUC6TtKWUy3K/9Lh7J51h2wTn6Tj+cR+RW0UBCXFpMqEH8BLnmgzZh5QylG50R0M3K/fwN1reD5mIbZMbIRKHft5I/Cd9y70Q68Mt025uP1EEqF65BgVtYDBXQo5CUilihp/P/I/6W1gcdbm/V1qbUzQbh/Khx9M/Y5CtKbowdbFxtvnLDvGj0Svx/wy7KjDTSAdk6RQgHQ4kFNkgmeHn8TUJfBKJx9zr2PcrJFAgMBAAECggEAcBUYWYNmbMSpMYX/Jin4SC8a/dd5ZlKaTnbuFOJWBoStt+CSTCbzx+93XUcuVUxfbrSLFEhka1ASsL5YuuhcNXxGx0zPSFtMSMnwCADRjAjIiBayNT5ciJIjDdpByvgcayTIMf23R3gVvvNGh3K73TufyyxnvYCN+ngMQwqt8ge3JerFB8hlUVNvHCc3rC6uBKky1qte87OCkMe7l42049Z/b+dz8Teol158XQ44d0E26elSjEfkHIkfPsHG4HQiIgVOj+b/usL2f00lAPuEtQRWsBdRjEBuyKVtoYMd61Wm+u2EzYiWuq80LDJdU4Fzc2YjB/nSTowpU0BcWRBU4QKBgQD0hrqjoBboGEZxM6EffltevsRrca0I9Rq1hIIs7QM+DZ4HFHcqiZ2odBS09Cr+1k3W7LTB2UT70AMCW122v2s2dMN1J1DZ3rlp2wJIreihnIKmp3vOQQ16BX51r4XAZe/bfV84VHkX+qZj76hfj2b+PVQqG+F2ThcjZPlUfgoN2QKBgQCUUzyBoRItYO0AaaBsemRGk4HCxHaAreEiUQbSIYnytTHWX13jplAect8yFw/L8hLG2bB081Sa0v7rnBAPPH/knMwT97VxQ8/xYmCVaax8QL88nEqPAdg2PZnfH3n6ydH9BAhGgdjhi+2cfYc8lymDlbaxY1ifqGRfATGlmJPITQKBgQDHke5h/Ra09psHaQvnmEkaWrgUuQJwfRr/ataTtB0hWBvRy3I21XpHMfZ0eZNdyapd73LXg2w52Nub4NXrgO8P0txzkVL7fjv1mTmT99wVipdXTPpOq+lD3ZgIlOikzo2kpf5BCzCJ0ZhbmA3jcDau6X73nym0VKety4ty2it6gQKBgCvPLfbnuTO4BihyClUgDVAfL1t0pb+6G94D6qzUBSevxwmXX2bm75EewrfLwfmuBUfAcnMIj/uuyGaU0NV/PBMtEMXxCyFqMxgLw5U+AhktEo73Zro4hED5DuKtLF0bkS9XKo6QuZtcthDbrr8BstxPswdP3ZRCq2q4Mo7DsxqdAoGAdRkBZCbK2igYrGF+7Ifr2H/AagZ9yfCOTW9uDxXvKdNspYdPXRKX2NA7vsKBBeQTPN8EAs6K5iStYPtZAySW83BJcu1SVrQhvtGWNYFTAEUx2aF2HaYxwTvEfHuYZUyYlnuSkNl6jSV7sLLyD/1ajgBtfJBiZk18EuBe259w/68=";
	
	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAja1lYIEWo8adbncMiZEzzRmjDKC0lkLePzKUHgreAkFJQxGklri8N0wmM3PZXtwctmotXGUQ/STAJ+al0iKRmW24RjXw9z+dRKD9XjLqE4joY0MFAuk7SllMtyv/S4eyedYdsE5+k4/nEfkVtFAQlxaTKhB/AS55oM2YeUMpRudEdDNyv38Dda3g+ZiG2TGyESh37eSPwnfcu9EOvDLdNubj9RBKheuQYFbWAwV0KOQlIpYoafz/yP+ltYHHW5v1dam1M0G4fyocfTP2OQrSm6MHWxcbb5yw7xo9Er8f8Muyow00gHZOkUIB0OJBTZIJnh5/E1CXwSicfc69j3KyRQIDAQAB";

	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	//public static String notify_url = "http://localhost:8080/alipay/alipayNotifyNotice";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "http://localhost:8080/pay/alipayReturnNotice";

	// 签名方式
	public static String sign_type = "RSA2";
	
	// 字符编码格式
	public static String charset = "utf-8";
	
	// 支付宝网关
	public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
	


}

